package com.farm.dao;

import com.farm.opjo.Index;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;
@Repository
public interface IndexMapper extends Mapper<Index> {
    @Select("select *from  t_index where id=#{id}")
    Index findById(int id);
}
